# -*- coding: utf-8 -*-
from __future__ import unicode_literals

import datetime
from django.db import migrations, models
from phonenumbers import timezone

import blog.models


class Migration(migrations.Migration):

    dependencies = [
    ]

    operations = [
        migrations.CreateModel(
            name='NSUser',
            fields=[
                ('id', models.AutoField(verbose_name='ID', serialize=False, auto_created=True, primary_key=True)),
                ('password', models.CharField(max_length=128, verbose_name='password')),
                ('last_login', models.DateTimeField(null=True, verbose_name='last login', blank=True)),
                ('name', models.CharField(max_length=30, unique=True, null=True, blank=True)),
                ('realname', models.CharField(max_length=30, null=True, verbose_name='\u771f\u5b9e\u59d3\u540d', blank=True)),
                ('create_time', models.DateTimeField(default=timezone.now, verbose_name='\u521b\u5efa\u65f6\u95f4')),
                ('manager_status', models.IntegerField(default=0, null=True, db_index=True)),
            ],
            options={
                'abstract': False,
            },
            bases=(models.Model, blog.models.JSONBaseMixin),
            managers=[
                ('objects', blog.models.NSUserManager()),
            ],
        ),
    ]
